<div>
    <form class="form-horizontal bv-form"  role="form"  id="updateForm">
        <input type="hidden" name="subject_id" value="{$data.subject_id}">
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">试题名称</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" value="{$data.subject_question}" name="subject_question">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">选项 a</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" value="{$data.subject_a}" name="subject_a">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">选项 b</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" value="{$data.subject_b}" name="subject_b">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">选项 c</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" value="{$data.subject_c}" name="subject_c">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">选项 d</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" value="{$data.subject_d}" name="subject_d">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">答案</label>
                <div class="col-sm-5">
                    <select class="form-control" name="subject_answer" style="height: 35px;">
                        <option value="1" {if $data.subject_answer==1} selected {/if}>a</option>
                        <option value="2" {if $data.subject_answer==2} selected {/if}>b</option>
                        <option value="3" {if $data.subject_answer==3} selected {/if}>c</option>
                        <option value="4" {if $data.subject_answer==4} selected {/if}>d</option>
                    </select>
                </div>
            </div>

        </fieldset>
    </form>

</div>




